import QtQuick 1.0
//import "images"

Component {
    Item {
        property variant stickies

        id: page
        width: ListView.view.width+40; height: ListView.view.height


        Rectangle {
            width: page.ListView.view.width
            height: page.ListView.view.height
            color: "lightpink"
            smooth: true
        }

        MouseArea {
            anchors.fill: parent
            onClicked: page.focus = false;
        }

        Text {
            text: name
            x: 15; y: 8; height: 40; width: 370
            font.pixelSize: 18; font.bold: true
            color: "white"
            style: Text.Outline; styleColor: "black"
        }
        Repeater {
            model: notes
            Item {
                id: listdemo
                x: 50;y: 50
                //width: ListView.view.width - 20
                //height: ListView.view.height


                    Image {
                            id: image
                            x: 25; y: 25
                            source: picture
                            transformOrigin: Item.TopLeft
                            smooth: true
                        }

                            Text {
                                id: myText
                                text: name
                                x: image.width + 50;y: 50
                                width: listdemo.width - image.width - 20
                                height: 200
                                smooth: true
                                font.pixelSize: 24


                            }

            }
        }
    }
}
